export interface IResponse {
    resultCode: number
    resultInfo: any
    token: string
}
export interface ILoginList {
    id: string
    name: string
    url: string
}
export interface NavBar {
    fixed: boolean
}

// 商品
export interface IGoods {
    id: number
    shop: string
    picture: string
    product: string
    price: number
    oldprice: number
    putaway: number
    detail: string
    categoryname: string
    categoryId?: number
    category_id?: number
    list?: Array<string>
}

/**
 * 购物车商品
 */


export interface ICartGoods {
    id: number
    product: string // 商品名称
    price: number // 价格
    num: number //数量
    state: boolean //状态
    oldprice: number
    picture: string
    shop: string
    name: string
    url: string
}

// 分类
export interface ICategory {
    id: number
    name: string
}

// 收藏列表数据
export interface ICollection {
    id: number
    product: string // 商品名称
    price: number // 价格
    num: number //数量
    state: boolean //状态
    oldprice: number
    picture: string
    name: string
    url: string
    

}
// 拼团商品
export interface ICollageGoods {
    id: number
    product: string // 商品名称
    price: number // 价格
    num: number //数量
    state: boolean //状态
    oldprice: number
    picture: string
    name: string
    url: string
    
}

//编辑地址数据
export interface IAddressemit{
    addressDetail:string
    city:string
    county:string
    isDefault:boolean
    name:string
    postalCode:string
    tel:string
    province:string
    id:number
    address:string
    areaCode:string
}

// 生成订单
export interface IOrderGoods {
    id: number
    product: string // 商品名称
    price: number // 价格
    num: number //数量
    state: boolean //状态
    oldprice: number
    picture: string
    name: string
    url: string
}

